using System.Text.Encodings.Web;
using Volo.Abp.Autofac;
using Volo.Abp.Json;
using Volo.Abp.Modularity;

namespace Acme.ELeMe.SDK.Tests;

[DependsOn(typeof(AcmeELeMeSdkModule),
    typeof(AbpAutofacModule),
    typeof(AbpJsonModule))]
public class AcmeELeMeSdkTestModule: AbpModule
{
    public override void PreConfigureServices(ServiceConfigurationContext context)
    {
        // Configure<AbpJsonOptions>(opt =>
        // {
        //     opt.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss";
        //     opt.UseHybridSerializer = false;
        // });
        // Configure<AbpSystemTextJsonSerializerOptions>(options =>
        // {
        //     options.JsonSerializerOptions.Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping;
        // });
    }
}